This repository contains 3 data files, an R code file, and a log file containing the output of that R code file analyzing those 3 data files. The 3 data files come from surveys, and their questionnaires are also included in this repository. 

code.R is an R script replicating the analyses from the paper. It loads the necessary R packages, then reads in the data, produces analyses, and, if appropriate, creates another dataset for use later, for all of the experiments. It should be run in order because the pooled analysis (combining the 2012 congressional, 2011 Kentucky AG, and 2018 MA SOS studies) requires a dataset merging three of the datasets. This merging is done in the code. 

code.pdf is a PDF of the code output.

2011_KY.csv is a comma-separated tabular dataset containing survey responses pertaining to the 2011 Kentucky Attorney General experiment.

2012_GOP.csv is a comma-separated tabular dataset containing survey responses pertaining to the 2012 Republican presidential primary experiment.]

MA_SOS_2018.csv is a comma-separated tabular dataset containing survey responses pertaining to the 2018 Massachusetts secretary of state experiment.

2012_congress.csv is a comma-separated tabular dataset containing survey responses pertaining to the 2012 congressional experiment.


